# # -*- coding: utf-8 -*-
# import psycopg2
#
# PG_SQL_LOCAL = {
#     'database': 'skynet',
#     'user': 'playbook',
#     'password': "MyNewPass4#",
#     'port': "5430",
#     'host': '127.0.0.1'
# }
#
# conn = psycopg2.connect(**PG_SQL_LOCAL)
# cursor = conn.cursor()
# table_list = ['jiangsu_ftp_file_download']
# try:
#
#     sql = "SELECT id FROM alarm_merge1 OFFSET 0 LIMIT 300;"
#     res = cursor.execute(sql)
#
#     print(res)
#
# except Exception as e:
#     print('database execute sql error!{0}'.format(e))
#
# finally:
#     cursor.close()
#     conn.close()
import os
OBJECT_PATH = os.path.join(os.getcwd())

print(OBJECT_PATH)